package com.android.equipment.net;

import java.io.Serializable;

public class ResponseBean<T> implements Serializable {

    public int    code;
    public String msg;
    public T      data;
    public String time;



    public int getCode() {
        return code;
    }

    public ResponseBean<T> setCode(int code) {
        this.code = code;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public ResponseBean<T> setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public T getData() {
        return data;
    }

    public ResponseBean<T> setData(T data) {
        this.data = data;
        return this;
    }

    public String getTime(){
        return time;
    }

    public ResponseBean<T> setTime(String time){
        this.time = time;
        return this;
    }
}